package com.glsc.ngateway.common.api.oaflow.dto;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.fasterxml.jackson.annotation.JsonInclude;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

/**
 * @Author: libj
 * @Date: 2022/04/28
 * @Desc: 同步OA流程表单交易单元信息Dto
 */
@Data
@JsonInclude(JsonInclude.Include.NON_NULL)
@JsonIgnoreProperties({ "hibernateLazyInitializer", "handler" })
public class SynOaTradeSeatInfoDto {

    @ApiModelProperty(value = "交易单元号")
    private String tradeSeatCode;

    @ApiModelProperty(value = "市场")
    private String tradeSeatMarket;

    @ApiModelProperty(value = "交易单元类型")
    private String useType;

    @ApiModelProperty(value = "使用机构ID")
    private String useCompanyId;

    @ApiModelProperty(value = "使用机构")
    private String useCompanyName;

    @ApiModelProperty(value = "使用说明")
    private String useDesc;

    @ApiModelProperty(value = "费用承担部门ID（不分摊）")
    private Integer expenseDeptId;

    @ApiModelProperty(value = "费用承担部门（不分摊）")
    private String expenseDeptName;

    @ApiModelProperty(value = "分摊原则（分摊）")
    private String expenseDesc;

    @ApiModelProperty(value = "交易单元状态")
    private String state;

    @ApiModelProperty(value = "开通时间")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private String beginDate;

    @ApiModelProperty(value = "停用时间")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private String endDate;
}